put line lineChoice of cd fld FieldChoice into cd fld whatField
end putTheChoice
on goChoice
if clickLine() is 1 then goCard 2
if clickLine() is 2 then goCard 3
end goChoice
on goCard n
lock screen
put cd fld "price" into whatPrice
go cd ("realEstate." & n)
put whatPrice into cd fld "price"
unlock screen with barn door open slow
end goCard
-- part 1 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=123 top=111 right=128 bottom=158
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 174
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 2 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=202 top=111 right=128 bottom=284
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 174
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 3 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=316 top=111 right=128 bottom=350
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 174
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 4 (field)
-- low flags: 01
-- high flags: 0007
-- rect: left=102 top=127 right=210 bottom=191
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 174
-- text size: 10
-- style flags: 0
-- line height: 14
-- part name: area choice
----- HyperTalk script -----
on mouseUp
putTheChoice
end mouseUp
-- part 5 (field)
-- low flags: 01
-- high flags: 0007
-- rect: left=198 top=127 right=211 bottom=290
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 65535
-- font id: 174
-- text size: 10
-- style flags: 0
-- line height: 14
-- part name: price choice
----- HyperTalk script -----
on mouseUp
putTheChoice
end mouseUp
-- part 6 (field)
-- low flags: 01
-- high flags: 0007
-- rect: left=297 top=127 right=210 bottom=386
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 174
-- text size: 10
-- style flags: 0
-- line height: 14
-- part name: size choice
----- HyperTalk script -----
on mouseUp
putTheChoice
end mouseUp
-- part 8 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=102 top=214 right=231 bottom=191
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 174
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: area
-- part 9 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=198 top=214 right=231 bottom=290
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 174
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: price
-- part 10 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=297 top=214 right=231 bottom=386
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 174
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: size
-- part 11 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=194 top=236 right=254 bottom=286
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Done
----- HyperTalk script -----
on mouseUp
if cd fld "area" is empty or cd fld "price" is empty or cd fld "size" is empty then
answer "Please select an item from all 3 categories."
else
set cursor to watch
wait 60
lock screen
hide btn "blackMask"
unlock screen with barn door open
end if
end mouseUp
-- part 13 (field)
-- low flags: 01
-- high flags: 0007
-- rect: left=270 top=263 right=296 bottom=398
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 174
-- text size: 10
-- style flags: 0
-- line height: 14
-- part name:
----- HyperTalk script -----
on mouseUp
goChoice
end mouseUp
-- part 14 (button)
-- low flags: 80
-- high flags: 4001
-- rect: left=91 top=262 right=296 bottom=398
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: blackMask
----- HyperTalk script -----
on mouseUp
if 1 = 2 then
end if
end mouseUp
-- part 16 (field)
-- low flags: 81
-- high flags: 2002
-- rect: left=76 top=72 right=303 bottom=415
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 174
-- text size: 14
-- style flags: 16640
-- line height: 16
-- part name: Info
----- HyperTalk script -----
on mouseUp
hide me
end mouseUp
-- part contents for card part 2
----- text -----
PRICE RANGE
-- part contents for card part 3
----- text -----
SIZE
-- part contents for card part 4
----- text -----
Albert Lea
Babbitt
Belgrade
Belle Plaine
Big Falls
Big Lake
Big Stone
Clara City
Cosmos
Crow Wing
Danube
Eden Prairie
Eden Valley
Edina
Eyota
Fulda
Good Thunder
Kiester
Lake Elmo
McIntosh
Mazeppa
Moose Lake
New Hope
New London
New Prague
Otter Tail
Pelican Rapids
Pequot Lakes
Redwing
Rollingstone
Savage
Sleepy Eye
Soudan
Wabasha
Wabasso
Wadena
Waseca
Wayzata
Welcome
-- part contents for card part 5
----- text -----
$25-35,000
$35-45,000
$45-55,000
$55-65,000
$65-75,000
$75-85,000
$85-95,000
$95-105,000
$105-115,000
$115-135,000
$135-155,000
$155-175,000
$175-195,000
$195-215,000
$215-235,000
$235-255,000
$255-275,000
$275-295,000
$295-315,000
$315-335,000
$335-355,000
$355-375,000
$375-395,000
$395-415,000
$415-435,000
$435-455,000
$455-475,000
$475-495,000
-- part contents for card part 6
----- text -----
1 bedroom
2 bedrooms
3 bedrooms
4 bedrooms
5 bedrooms
6 bedrooms
7+ bedrooms
-- part contents for card part 13
----- text -----
Lake Cottage
Suburban Dream
-- part contents for card part 16
----- text -----
This HyperCard sample allows a client to specify his or her housing needs; the mainframe computer checks those needs against its long list of available homes, and then shows what homes match the client’s needs.
Follow the instructions to see how this stack works.
Click this window’s close box when you are finished viewing the sample.